home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Essentials / MacApp Documentation / MacApp.TECH$ Archives / 1988 / Jan 88 / Window Question 1⁄25 < prev   
Encoding:
Text File  |  1991-03-06  |  1.2 KB  |  35 lines  |  [TEXT/GEOL]

  1. Item    1776659                         25-Jan-88        14:18
  2.  
  3. From:   HOL0044                         Kemink Consultancy, J Kemink
  4.  
  5. To:     MACAPP$                         MacApp Interest List
  6.  
  7. Sub:    Window Question
  8.  
  9. Dear MacApp(R)s,
  10.  
  11. I am having some problems with windows that don't belong to any document, but
  12. to objects within a document.
  13.  
  14. Imagine the following: the user works with a document that contains several
  15. objects of the same kind, not every element contains the same value in a
  16. certain field. In order to display the fields of the element, the user can open
  17. the element, resulting in a TWindow belonging to that element. When, after some
  18. time the user doesn't want the window any more, he clicks in the close box of
  19. that window (or chooses close from the file menu).
  20.  
  21. Question:
  22. The only thing that has to result from the close is the freeing of the TWindow,
  23. TFrame and TView objects. How can the close action be intercepted to do the
  24. things stated above? I have looked in the conference example but I didn't get
  25. any further.
  26.  
  27. Any help would be greatly appreciated.
  28.  
  29. Best regards, Joost Kemink
  30.  
  31.  
  32. MacApp is a registered trademark of Apple Computer, Inc.
  33.  
  34.  
  35.